<?php
	class Widgets extends Model {
		public function get($user) {
			$this->load->database();
			$widgets = $this->db->query("SELECT * FROM ps_widgets_used
			                             WHERE login='".$user."'");
			return $widgets->result_array();
		}
	}
?>
